package com.principle.facade;

public class Popcorn {
    private static Popcorn popcorn=new Popcorn();
    public static Popcorn getInsatnce(){
        return popcorn;
    }
    public void on(){
        System.out.println("popcorn on");
    }
    public void off(){
        System.out.println("popcorn off");
    }
    public void play(){
        System.out.println("popcorn is poping");
    }
    public void pause(){
        System.out.println("popcorn pause...");
    }
}
